package com.ruoyi.bus.domain;

import java.sql.Time;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.poi.ss.formula.functions.T;

/**
 * 电话对象 wx_travel
 * 
 * @author ruoyi
 * @date 2025-07-21
 */
public class WxTravel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车id */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 站点名称 */
    @Excel(name = "站点名称")
    private String namecity;

    /** 电话 */
    @Excel(name = "电话")
    private String chuxingcall;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 营业时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "营业时间", width = 30, dateFormat = "HH:mm:ss")
    private Time datestaup;

    /** 休息时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "休息时间", width = 30, dateFormat = "HH:mm:ss")
    private Time dateend;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setNamecity(String namecity)
    {
        this.namecity = namecity;
    }

    public String getNamecity()
    {
        return namecity;
    }
    public void setChuxingcall(String chuxingcall)
    {
        this.chuxingcall = chuxingcall;
    }

    public String getChuxingcall()
    {
        return chuxingcall;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setDatestaup(Time datestaup)
    {
        this.datestaup = datestaup;
    }

    public Date getDatestaup()
    {
        return datestaup;
    }
    public void setDateend(Time dateend)
    {
        this.dateend = dateend;
    }

    public Date getDateend()
    {
        return dateend;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("namecity", getNamecity())
                .append("chuxingcall", getChuxingcall())
                .append("address", getAddress())
                .append("datestaup", getDatestaup())
                .append("dateend", getDateend())
                .append("type", getType())
                .toString();
    }
}